package com.fdb.efp.nls.service.domain;

import java.io.Serializable;

/**
 * template_file_upload_record
 * @author 
 */
public class TemplateFileUploadRecord extends TemplateFileUploadRecordKey implements Serializable {


    /**
     *上传状态（1成功、2失败）
     */
    private String uploadFlag;

    /**
     * 上传时间 yyyy-MM-dd HH:mm:ss
     */
    private String uploadTime;

    /**
     * 修改时间 yyyy-MM-dd HH:mm:ss
     */
    private String modifyTime;

    /**
     * 上传返回的原生报文
     */
    private String retMsg;

    /**
     * 上传返回的批次号
     */
    private String retBatch;

    /**
     * 备注信息
     */
    private String remark;

    /**
     * 创建记录时间 yyyy-MM-dd HH:mm:ss
     */
    private String createTime;

    private static final long serialVersionUID = 1L;

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public String getRetBatch() {
        return retBatch;
    }

    public void setRetBatch(String retBatch) {
        this.retBatch = retBatch;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TemplateFileUploadRecord other = (TemplateFileUploadRecord) that;
        return (this.getApplySeq() == null ? other.getApplySeq() == null : this.getApplySeq().equals(other.getApplySeq()))
            && (this.getBizType() == null ? other.getBizType() == null : this.getBizType().equals(other.getBizType()))
            && (this.getImageType() == null ? other.getImageType() == null : this.getImageType().equals(other.getImageType()))
            && (this.getUploadFlag() == null ? other.getUploadFlag() == null : this.getUploadFlag().equals(other.getUploadFlag()))
            && (this.getUploadTime() == null ? other.getUploadTime() == null : this.getUploadTime().equals(other.getUploadTime()))
            && (this.getModifyTime() == null ? other.getModifyTime() == null : this.getModifyTime().equals(other.getModifyTime()))
            && (this.getRetMsg() == null ? other.getRetMsg() == null : this.getRetMsg().equals(other.getRetMsg()))
            && (this.getRetBatch() == null ? other.getRetBatch() == null : this.getRetBatch().equals(other.getRetBatch()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getApplySeq() == null) ? 0 : getApplySeq().hashCode());
        result = prime * result + ((getBizType() == null) ? 0 : getBizType().hashCode());
        result = prime * result + ((getImageType() == null) ? 0 : getImageType().hashCode());
        result = prime * result + ((getUploadFlag() == null) ? 0 : getUploadFlag().hashCode());
        result = prime * result + ((getUploadTime() == null) ? 0 : getUploadTime().hashCode());
        result = prime * result + ((getModifyTime() == null) ? 0 : getModifyTime().hashCode());
        result = prime * result + ((getRetMsg() == null) ? 0 : getRetMsg().hashCode());
        result = prime * result + ((getRetBatch() == null) ? 0 : getRetBatch().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uploadFlag=").append(uploadFlag);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", retMsg=").append(retMsg);
        sb.append(", retBatch=").append(retBatch);
        sb.append(", remark=").append(remark);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}